package com.bean;

import java.sql.Timestamp;

/**
 * MessageCenter entity. @author MyEclipse Persistence Tools
 */

public class MessageCenter implements java.io.Serializable {

	// Fields

	private Integer seqno; //消息表id
	private Integer typeid;	//发送的类型
	private String flags;	//自定义消息的类型  比如0001是注册消息，
	private String telno;	//手机号
	private String openid;	//微信号
	private String emails;	//邮箱号
	private String message;	//发送的消息
	private Integer errorNums;	//错误消息次数
	private Timestamp times;	//消息生成时间
	private String note;	//备注
	private String subject;	//主题

	// Constructors

	/** default constructor */
	public MessageCenter() {
	}

	/** minimal constructor */
	public MessageCenter(Integer seqno) {
		this.seqno = seqno;
	}

	public MessageCenter(Integer seqno, Integer typeid, String flags,
			String telno, String openid, String emails, String message,
			Integer errorNums, Timestamp times, String note, String subject) {
		super();
		this.seqno = seqno;
		this.typeid = typeid;
		this.flags = flags;
		this.telno = telno;
		this.openid = openid;
		this.emails = emails;
		this.message = message;
		this.errorNums = errorNums;
		this.times = times;
		this.note = note;
		this.subject = subject;
	}

	
	/** full constructor */
	public Integer getSeqno() {
		return seqno;
	}

	public void setSeqno(Integer seqno) {
		this.seqno = seqno;
	}

	public Integer getTypeid() {
		return typeid;
	}

	public void setTypeid(Integer typeid) {
		this.typeid = typeid;
	}

	public String getFlags() {
		return flags;
	}

	public void setFlags(String flags) {
		this.flags = flags;
	}

	public String getTelno() {
		return telno;
	}

	public void setTelno(String telno) {
		this.telno = telno;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getEmails() {
		return emails;
	}

	public void setEmails(String emails) {
		this.emails = emails;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getErrorNums() {
		return errorNums;
	}

	public void setErrorNums(Integer errorNums) {
		this.errorNums = errorNums;
	}

	public Timestamp getTimes() {
		return times;
	}

	public void setTimes(Timestamp times) {
		this.times = times;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}


}